#ifndef __BLE_COMMON_H_
#define __BLE_COMMON_H_

#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <soc.h>

#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/uuid.h>
#include <zephyr/bluetooth/gatt.h>
#include <zephyr/bluetooth/hci.h>

#include <bluetooth/services/nus.h>
#include <zephyr/settings/settings.h>


#define DEVICE_NAME CONFIG_BT_DEVICE_NAME
#define DEVICE_NAME_LEN	(sizeof(DEVICE_NAME) - 1)

#define BT_LE_ADV_LOW_CONN \
	BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE, 800, BT_GAP_ADV_SLOW_INT_MIN, NULL)


int ble_common_init(void);

#endif